home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / qread.z / qread
Encoding:
Text File  |  1998-10-20  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. qqqqrrrreeeeaaaadddd((((3333GGGG))))                                                            qqqqrrrreeeeaaaadddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      qqqqrrrreeeeaaaadddd - reads the first entry in the event queue
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      lllloooonnnngggg qqqqrrrreeeeaaaadddd((((ddddaaaattttaaaa))))
  13.      sssshhhhoooorrrrtttt ****ddddaaaattttaaaa;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _d_a_t_a expects a pointer to the location that is to receive the data the
  17.           event queue.
  18.  
  19. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  20.      The returned function value is the identifier for the device read.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      When there is an entry in the queue, qqqqrrrreeeeaaaadddd returns the device number of
  24.      the queue entry, writes the data of the entry into _d_a_t_a, and removes the
  25.      entry from the queue.
  26.  
  27.      If there is not an entry in the queue, qqqqrrrreeeeaaaadddd will block and return when
  28.      an entry is made.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      qreset, qtest
  32.  
  33. NNNNOOOOTTTTEEEE
  34.      This routine is available only in immediate mode.
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.